package com.woniu.sale.mapper;

import com.woniu.sale.entity.PurRequestorderdetail;
import com.woniu.sale.entity.PurRequestorderdetailExample;
import com.woniu.sale.entity.PurRequestorderdetailKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PurRequestorderdetailDao {
    long countByExample(PurRequestorderdetailExample example);

    int deleteByExample(PurRequestorderdetailExample example);

    int deleteByPrimaryKey(PurRequestorderdetailKey key);

    int insert(PurRequestorderdetail record);

    int insertSelective(PurRequestorderdetail record);

    List<PurRequestorderdetail> selectByExample(PurRequestorderdetailExample example);

    PurRequestorderdetail selectByPrimaryKey(PurRequestorderdetailKey key);

    int updateByExampleSelective(@Param("record") PurRequestorderdetail record, @Param("example") PurRequestorderdetailExample example);

    int updateByExample(@Param("record") PurRequestorderdetail record, @Param("example") PurRequestorderdetailExample example);

    int updateByPrimaryKeySelective(PurRequestorderdetail record);

    int updateByPrimaryKey(PurRequestorderdetail record);

    List<PurRequestorderdetail> selShopSale(@Param("supply") Integer supply,@Param("shop") String shop);
}